package org.lease.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.lease.model.entity.SystemPost;
import org.lease.model.enums.BaseStatus;

public interface SystemPostService extends IService<SystemPost> {

    IPage<SystemPost> page(int current, int size);

    boolean updateStatus(Long id, BaseStatus status);
}
